package com.ashbur.design.impl;

/**
 * @author : Eumenides
 * @Description :
 * @date : 2022/4/7
 * @Copyright ： 公众号：菜鸟的大厂梦
 */
public class CalculationAreaExt extends CalculationArea {
    private final static double π = 3.141592653D;

    @Override
    public double circular(double r) {
        return π * r * r;
    }
}
